using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HeresyManager.Skills.Pilots
{
    [Serializable]
    public class PilotMilitaryCraft : Pilot
    {
        public PilotMilitaryCraft(SkillLevel level)
            : base(level)
        {
        }
        public override string Name
        {
            get
            {
                return "Pilot (Military Craft)";
            }
        }

        public override bool IsPreconditionSattisfied(HeresyManager.Character c)
        {
            return base.IsPreconditionSattisfied(c) && c.Skills.Any(t => t.Item1 is PilotMilitaryCraft);
        }
    }
}
